package sharpuser;

import java.util.Scanner;

public class J03NumberMe {
	
	public static void main(String[] args){
		//1 변수선언
		final int MYNUMBER = 493;
		int num;
		String title = "3자리 숫자 하나를 입력하세요!";
		String result = "";
		Scanner se = null;
				
				
				//2 숫자 입력 및 확인
		se = new Scanner(System.in);
		System.out.println(title);
		num = se.nextInt();
 if(num>MYNUMBER){
	 result = "추측한 숫자가 큽니다";
 }
	 if(num< MYNUMBER){
		 result = "추측한 숫자가 작아여";
	 }	 
		 if(num==MYNUMBER){
			 result = "빙고! 숫자를 맞췃습니다";
		 }
		 se.close();
 System.out.println(MYNUMBER);
 System.out.println(num);
 System.out.println(result);
 
		
	
	}
}